package com.project.restaurant.order.dto;


import com.project.restaurant.pojo.MealType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class MealItem {

    /**
     * 餐点id
     */
    private Integer mealId;

    /**
     * 餐点名
     */
    private String mealName;

    /**
     * 餐点类型
     */
    private MealType mealType;

    /**
     * 餐点图片
     */
    private List<String> mealPictures;

    @Override
    public String toString() {
        return "MealItem{" +
                "mealId=" + mealId +
                ", mealName='" + mealName + '\'' +
                ", mealType=" + mealType +
                ", mealPictures=" + mealPictures +
                '}';
    }
}
